package com.zxy.ziems.server.alarm.service;

import com.zxy.ziems.server.alarm.pojo.entity.AlarmRuleRoleEntity;
import com.zxy.ziems.server.alarm.pojo.vo.AlarmRuleRoleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @Copyright (C),
 * @ClassName: AlarmRuleRoleService
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/10 15:45
 */
public interface AlarmRuleRoleService {


    void saveOrUpdateAlarmRuleRole(String ruleId, List<String> roleList);

    void deleteAlarmRuleRoleByRuleId(String ruleId);

    List<AlarmRuleRoleVO> listByIdList(Set<String> ruleIdSet);


    List<AlarmRuleRoleEntity> listByRuleId(@Param("id") String id);
}
